Skip to content

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Nov 22, 2024

  • Name without a PATHEXT extension is only searched if the mode does not include X_OK.
  • Support multi-component PATHEXT extensions (e.g. ".foo.bar").
  • Support files without extensions in PATHEXT contains dot-only extension (".", "..", etc).
  • Support PATHEXT extensions that end with a dot (e.g. ".foo."). (cherry picked from commit 8899e85)

📚 Documentation preview 📚: https://cpython-previews--127158.org.readthedocs.build/

…ws (pythonGH-127035)

* Name without a PATHEXT extension is only searched if the mode does not
  include X_OK.
* Support multi-component PATHEXT extensions (e.g. ".foo.bar").
* Support files without extensions in PATHEXT contains dot-only extension
  (".", "..", etc).
* Support PATHEXT extensions that end with a dot (e.g. ".foo.").
(cherry picked from commit 8899e85)

Co-authored-by: Serhiy Storchaka <[email protected]>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) November 22, 2024 16:16
@serhiy-storchaka serhiy-storchaka merged commit 2964898 into python:3.12 Nov 22, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant